﻿<%@ Page Language="C#" MasterPageFile="~/provider/Provider.master" AutoEventWireup="true" Async="true"
    CodeFile="PasswordRecovery.aspx.cs" Inherits="Provider_PasswordRecovery" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="elements_inner_wrapper">
        <div id="contentBody">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="2" style="border: thin solid #0066FF; text-align: left">
                        Forgot your password?
                        <br />
                        Enter your login email below and fill the security check.
                        <br />
                        We will send you an email with a link to reset your password.
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td width="30%">
                        Enter Email
                    </td>
                    <td width="70%">
                        <asp:TextBox ID="txtEmail" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                            Display="Dynamic" ErrorMessage="Require Email Address." Text="Require Email address."
                            ValidationGroup="customer">
                        </asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="rfvEmailValid" runat="server" ControlToValidate="txtEmail"
                            Display="Dynamic" ErrorMessage="Invalid Email address." Text="Invalid Email address."
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="customer"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        Security Check
                    </td>
                    <td>
                        <asp:UpdatePanel runat="server" ID="uplCAPCHA">
                            <ContentTemplate>
                                <div style="display: block; float: left;">
                                    <asp:Image ID="imgCAPTCHA" runat="server" />
                                </div>
                                <asp:ImageButton ID="btnNewImage" runat="server" OnClick="btnNewImage_Click" ImageUrl="~/images/icons/refresh.gif"
                                    ToolTip="Reload" AlternateText="Refresh" />
                                <%--<asp:Label ID="Label1" Text="" runat="server"></asp:Label>--%>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <asp:UpdateProgress AssociatedUpdatePanelID="uplCAPCHA" DisplayAfter="100" runat="server"
                            ID="udpCAPTCHA">
                            <ProgressTemplate>
                                <asp:Image ID="imgLoading" ImageUrl="~/images/loading7.gif" runat="server" />
                            </ProgressTemplate>
                        </asp:UpdateProgress>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        Text in Box
                    </td>
                    <td>
                        <asp:TextBox ID="txtSecurityCode" MaxLength="20" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvSecurityCheck" runat="server" ControlToValidate="txtSecurityCode"
                            Display="Dynamic" ErrorMessage="Require Security Check Text" Text="Require security check text."
                            ValidationGroup="customer"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Reset Password"
                            ValidationGroup="customer" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Label ID="lblMessage" ForeColor="Red" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
